package com.wcity.manage.dao.mapper;

import com.wcity.manage.dao.dal.BaseMapper;
import com.wcity.manage.dao.model.ComplaintManage;
import com.wcity.manage.dao.model.ComplaintManage;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * 投诉管理
 * Created by zm on 2016/12/13.
 */
@Repository
public interface PropertyComplaintMapper extends BaseMapper<ComplaintManage,Serializable> {
    /**
     * 获取百姓心声
     * @param id
     * @return
     */
    ComplaintManage getComplaintManageInfo(String id);

    /**
     * 查看回复信息
     * @param id
     * @param str
     * @return
     */
    ComplaintManage getReplyInfo(String id, String str);

    /**
     * 修改回复状态
     * @param id
     * @param str
     * @return
     */
    int updateStatus(String id, String str);

    /**
     * 获取我发布的声音
     * @param regId
     * @return
     */
    List<ComplaintManage> getIComplaintManage(String regId);

    /**
     * 获取声音详情
     * @param ComplaintManageId
     * @return
     */
    ComplaintManage getIComplaintManageInfo(String ComplaintManageId);
}
